import router from "./router";
//全局前置守卫
router.beforeEach((to: any, from: any, next: any) => {
    next();
})
//全局后置守卫
router.afterEach((to: any, from: any) => {
    document.title = to.meta.title;
})